package com.suixin.learn.persistence;

import com.suixin.learn.persistence.pojo.User;

import java.util.List;

public interface IUserDao {

    List<User> findAll();

    User findOne(User user);

    int update(User user);

    int delete(User user);

    int insert(User user);
}
